<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="utf-8">
		<title>面试结果登记</title>
		<link rel="stylesheet" type="text/css" th:href="@{/layui/dist/css/layui.css}" />
		<link rel="stylesheet" type="text/css" th:href="@{/css/面试结果登记.css}" />
		<link rel="icon" type="image/png" href="icon/I.png">
	</head>
	<style>
		table tr th{
			text-align: center !important;
			font-weight: bold !important;
		}
		tr td{
			text-align: center
		}
	</style>
	<body style="background: rgb(241, 241, 241) !important;">
	<br>
		<div class="box1" style="width: 98%; margin: 0 auto">
			<!-- 下拉框第1点 -->
			<form class="layui-form">

				<table class="layui-table">
					<tr>
						<td>部门：</td>
						<td>
							<!-- 下拉框第2点 -->
							<div class="layui-input-inline" style="display: block;">
								<div class="layui-input-block" style="margin-left: 0px;">
									<input type="text"  class="layui-input"  th:value="${employment.getDepartment()}" readonly>
								</div>
							</div>

						</td>
						<td>招聘类型：</td>
						<td>
							<!-- 下拉框第2点 -->
							<div class="layui-input-inline" style="display: block;">
								<div class="layui-input-block" style="margin-left: 0px;">
									<input type="text"  class="layui-input"  th:value="${employment.getRecruitmentType()}" readonly>
								</div>
							</div>

						</td>
						<td>招聘人数：</td>
						<td>
							<input type="text" class="layui-input" th:value="${employment.getNumbers()}" id="numbers" readonly/>
						</td>
					</tr>
					<tr>
						<td>职位名称：</td>
						<td>
							<!-- 下拉框第2点 -->
							<div class="layui-input-inline" style="display: block;">
								<div class="layui-input-block" style="margin-left: 0px;">
									<input type="text"   class="layui-input" th:value="${employment.getPositionName()}" readonly>
								</div>
							</div>

						</td>
						<td>职位编码：</td>
						<td>
							<input type="text" class="layui-input" id="positionid" th:value="${employment.getPositionId()}" readonly/>
						</td>
						<td>职位分类：</td>
						<td>
							<input type="text" class="layui-input" id="sort" th:value="${employment.getPositionSort()}" readonly/>
						</td>
					</tr>
					<tr>
						<td>登记人：</td>
						<td>
							<input type="text" class="layui-input" id="registrant" th:value="${employment.getRegistrant()}" readonly/>
						</td>
						<td>登记时间：</td>
						<td>

							<input type="date" class="layui-input" id="registrantTime"th:value="${#dates.format(employment.getRegistranTime(),'yyyy-MM-dd')}" readonly/>
						</td>
						<td>截止时间：</td>
						<td>
							<input type="date" class="layui-input" id="expirationDate" th:value="${#dates.format(employment.getExpirationDate(),'yyyy-MM-dd')}" readonly/>
						</td>
					</tr>
					<tr>
						<td>职业描述：</td>
						<td colspan="3">
							<input type="text" class="layui-input" id="describe" th:value="${employment.getDescribe()}" readonly/>
						</td>
					</tr>
					<tr>
						<td>招聘要求：</td>
						<td  colspan="3">
							<input type="text" class="layui-input" id="require" th:value="${employment.getRequire()}" readonly/>
						</td>
					</tr>
					<tr>
						<td colspan="8" align="center">
							<button type="button" class="layui-btn layui-btn-normal " onclick="javascript:location.href='http://localhost:8080/a'">返回</button>
						</td>
					</tr>
				</table>
			</form>
		</div>
	</body>
	<script th:src="@{/layui/src/layui.js}" type="text/javascript" charset="utf-8"></script>
	<script th:src="@{/js/jquery.min.js}" type="text/javascript"></script>
	<script th:src="@{/js/Dyb_Save2.js}" type="text/javascript"></script>
	<!-- 下拉框第3点 -->
	<script>
		layui.use('form', function() {
			var form = layui.form; //只有执行了这一步，部分表单元素才会自动修饰成功

			//……

			//但是，如果你的HTML是动态生成的，自动渲染就会失效
			//因此你需要在相应的地方，执行下述方法来手动渲染，跟这类似的还有 element.init();
			form.render();
		});
	</script>
</html>
